package cxl_zh.model;


import java.util.HashMap;


public class AppInfo {

	private static AppInfo sharedAppInfo;
	private static int id;
	private User user;
	private HashMap<String, User> users = new HashMap<String, User>();

	private AppInfo() {
	}

	public static AppInfo getAppInfo() {
		if (sharedAppInfo == null) {
			sharedAppInfo = new AppInfo();
		}
		return sharedAppInfo;
	}

	public static int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public HashMap<String, User> getUsers() {
		return users;
	}

	public void setUsers(HashMap<String, User> users) {
		this.users = users;
	}

	
}
